import axios from "axios";

export default {
    // 获取所有套餐
    mealGet(params) {
        return axios({
            url: "/meal/getAllMeal",
            method: "GET",
            params,
        });
    },
    // 修改套餐
    mealUpData(data) {
        return axios({
            url: "/meal/updateMeal",
            method: "POST",
            data,
        });
    },
    // 添加套餐
    mealAdd(data) {
        return axios({
            url: "/meal/addMeal",
            method: "POST",
            data,
        });
    },
    // 删除套餐
    mealDel(data) {
        return axios({
            url: "/meal/delMeal",
            method: "POST",
            data,
        });
    },
};